<template> 
    <el-form  label-width="120px">    
      <!--   <el-form-item label="默认值：">   
             <el-date-picker
                v-model="item.value"
                type="date"
                placeholder="选择日期">
            </el-date-picker> 
        </el-form-item> -->
         <el-form-item  label="是否只读："> 
         <el-radio v-model="item.ui.disabled" :label="true">是</el-radio>
         <el-radio v-model="item.ui.disabled" :label="false">否</el-radio> 
        </el-form-item>
        <el-form-item  label="是否禁用："> 
         <el-radio v-model="item.ui.readonly" :label="true">是</el-radio>
         <el-radio v-model="item.ui.readonly" :label="false">否</el-radio> 
        </el-form-item>
          <el-form-item label="描述："> 
            <el-input placeholder="请输入描述" v-model="item.ui.placeholder" style="width:430px"></el-input>  
        </el-form-item> 
         <el-form-item> 
            <el-button @click="handerClick">关闭</el-button>
        </el-form-item> 
    </el-form>

</template>

<script>
export default {
  props: ["item"],
  name: "datepickitem",
  methods: {
    handerClick: function() {
      this.$emit("hclick");
    }
  }
};
</script>

